package com.netbao.sys.controller;

import com.netbao.sys.service.ResourceService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("sys/resource")
public class ResouceController {
    @Resource
    private ResourceService resourceService;

    @GetMapping("getmenu")
    public Object getmenu(){
        return resourceService.getmeun();
    }
}
